﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentTests.Framework.VerbExtensions;
using FluentTests.NUnit;
using NUnit.Framework;

namespace FluentTests.Tests
{
    [TestFixture]
    public class BooleanTestsUsingNUnit
    {
        [Test]
        public void TestIsTrue()
        {
            Ensure.That(true).Is.True();           
        }

        [Test]
        [ExpectedException(typeof(AssertionException))]
        public void TestIsTrueFails()
        {
            Ensure.That(false).Is.True();
        }

        [Test]
        public void TestNotIsTrue()
        {
            Ensure.That(false).Is.Not.True();
        }

        [Test]
        [ExpectedException(typeof(AssertionException))]
        public void TestNotIsTrueFails()
        {
            Ensure.That(true).Is.Not.True();
        }
    }
}
